package com.example.day3mvp.mvp.contrat;

import com.example.mylibrary.CallBack.MyCallBack;
import com.example.mylibrary.mvp.model.IModel;
import com.example.mylibrary.mvp.view.IView;

import javax.security.auth.callback.Callback;

//实现mvp框架中的m,v
public interface LoginContrat {
    interface  LoginView extends IView{
        String getUserName();
        String getPwd();
        void goMain();
    }

    interface LoginModel extends IModel{
        void requestLogin(String username, String pwd, MyCallBack myCallBack);
    }

}
